package org.dizem.minichat;

import java.awt.*;

/**
 * User: DIZEM
 * Time: 11-3-2 下午4:40
 */
public interface Constants {
	String APP_TITLE = "MEMO";
	String FILE_SEP = System.getProperty("file.separator");
	String USER_DIR = System.getProperty("user.dir");
	String DATA_DIR = USER_DIR + FILE_SEP + "data";
	String CONFIG_DIR = USER_DIR + FILE_SEP + "config";
	String IMAGE_DIR = USER_DIR + FILE_SEP + "image";
	String BANNER_DIR = IMAGE_DIR + FILE_SEP + "banner";
	String CONFIG_PATH = CONFIG_DIR + FILE_SEP + "config.properties";
	String LOGIN_CONFIG_PATH = CONFIG_DIR + FILE_SEP + "login_config.properties";
	String LOG4J_CONFIG_PATH = CONFIG_DIR + FILE_SEP + "log4j.properties";

	String DB_DRIVER = "smallsql.database.SSDriver";
	String DB_URL = "jdbc:smallsql:data";
	String GC_PERIOD = "GC_Period";
	String EMPTY = "";
	Dimension DEFAULT_LOGIN_WINDOW_SIZE = new Dimension(334, 218);

	int MAX_PASSWORD_LENGTH = 20;
	int MAX_NICK_NAME_LENGTH = 20;
	int MAX_ACCOUNT_ID_LENGTH = 10;
	int MAX_HISTORY_USER_COUNT = 5;

	String STR_REGISTER = "注册";
	String STR_SETTING = "设置";
	String STR_LOGIN = "登陆";
	String STR_GET_BACK = "找回";
	String STR_SAVE_PASSWORD = "记住密码";
	String STR_AUTO_LOGIN = "自动登陆";
	String STR_ACCOUNT = "账号";
	String STR_PASSWORD = "密码";
	String STR_CLEAR = "清空";

	String TOOLTIPS_REGISTER = "免费注册一个新账号";
	String TOOLTIPS_GET_BACK = "忘记密码了？点此找回你的账号";
	String TOOLTIPS_COMBO_ACCOUNT = "<输入您的账号> 如果您还没有账号，请注册";
}
